<?php
// +----------------------------------------------------------------------
// | Tpli [ WE ONLY DO WHAT IS NECESSARY ]
// +----------------------------------------------------------------------
// | Author < 931274989@qq.com >
// +----------------------------------------------------------------------
// | Explain 商品表
// +----------------------------------------------------------------------
namespace app\admin\model;

use think\Model;

class Shops extends Model
{
  public function Category()
  {
    //关联类目表 一对一
    return $this->belongsTo('category','c_id','id');
  }
}
?>